Trace of a Matrix
Tags: #◇CSMATH2 #◇Linear Algebra #◇Computational Mathematics #◇Matrices #◇Matrix Operations #◇Computer Science #◇Vector Spaces #◇Linear Transformations
◇Overview
Definition: The trace of a square matrix A, denoted by tr(A), is the sum of its main diagonal entries. (Handout 2, Page 3)
◇Key Concepts
Example Properties of the Trace
◇Details / Theory
Definition: The trace of a square matrix A, denoted by tr(A), is the sum of its main diagonal entries. (Handout 2, Page 3)
tr(A)=i=1∑naii=a11+a22+⋯+ann Example: For A=[210 −142 1053], tr(A)=2+4+3=9. Properties of the Trace: If A and B are n×n matrices and c is a scalar: (Handout 2, Page 3 for first two; others are common properties)
-
tr(A+B)=tr(A)+tr(B)
-
tr(AB)=tr(BA)
Personal Note: This is a very useful property, especially since AB=BA in general. -
tr(cA)=c⋅tr(A)
-
tr(A⊤)=tr(A)
◇Common Pitfalls
Trace is only defined for square matrices. but in general.
◇Summary
TL;DR — (sum of diagonal entries). Linear, cyclic (), and equals the sum of eigenvalues.
◇Links
Related: Source / Reference:
◇References & Navigation
- Previous Topic: ◇Symmetric Matrix
- Next Topic: ◇Transpose of a Matrix
- Related Notes: ◇Skew-Symmetric Matrix, ◇Upper Triangular Matrix, ◇Matrices Detailed
ACTIVE RECALL VERIFICATION
Select an answer to verify conceptual comprehension and reveal the technical rationale.
How is the trace of a square matrix , denoted , mathematically calculated?
Which of the following is a true property regarding the trace operation?
Does the trace operation distribute over matrix multiplication, meaning does ?